|
菜單位置 |
---|
Arch → Wall |
工作台 |
Arch |
默認快捷鍵 |
W A |
版本介紹 |
- |
也可以看看 |
Arch Structure |
Walls built from a line, a wire, a face, a solid, and a sketch
Walls can also have additions or subtractions. Additions are other objects whose shapes are joined in this Wall's shape, while subtractions are subtracted. Additions and subtractions can be added with the Arch Add and Arch Remove tools. Additions and subtractions have no influence over wall parameters such as height and width, which can still be changed. Walls can also have their height automatic, if they are included into a higher-level object such as floors. The height must be kept at 0, then the wall will adopt the height specified in the parent object.
When several walls should intersect, you need to place them into a floor to have their geometry intersected.
Snapping works a bit differently with Arch walls than other Arch and Draft objects. If a wall has a baseline object, snapping will anchor to the base object, instead of the wall geometry, allowing to easily align walls by their baseline. If, however, you specifically want to snap to the wall geometry, pressing Ctrl will switch snapping to the wall object.
Second wall snapping perpendicularly to the first one
An Arch Wall object shares the common properties and behaviors of all Arch Components.
Blocks
Component
See Arch Component.
IFC
See Arch Component.
IFC Attributes
See Arch Component.
Wall
getWidths()
method (such as sketches created with the external See also: Arch API and FreeCAD Scripting Basics.
The Wall tool can be used in macros and from the Python console by using the following function:
Wall = makeWall(baseobj=None, length=None, width=None, height=None, align="Center", face=None, name="Wall")
Wall
object from the given baseobj
, which can be a Draft object, a Sketch, a face, or a solid.
baseobj
is given, you can provide the numerical values for the length
, width
(thickness), and height
.face
can be used to give the index of a face from the underlying object, to build this wall on, instead of using the whole object.align
can be "Center"
, "Left"
or "Right"
.None
if the operation fails.Example:
import FreeCAD, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()
Wall2 = Arch.makeWall(None, length=2000, width=200, height=1000)
Draft.move(Wall2, FreeCAD.Vector(0, -1000, 0))
FreeCAD.ActiveDocument.recompute()